Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Pre-Compile Actions

Pre-Compile Actions

Scheduled Pinned Locked Moved C / C++ / MFC
questionc++
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Y Offline
    Y Offline
    Yaron Nir
    wrote on last edited by
    #1

    Hello, I know in the project settings of VC++ you can perform some actions only in 'pre-link' and 'post-build' times. i have a *.bat file that i want it to run before the compilation starts..... any1 knows how can i do it? thanks in advanced Yaron Ask not what the application can do for you, ask what you can do for your application

    P H 2 Replies Last reply
    0
    • Y Yaron Nir

      Hello, I know in the project settings of VC++ you can perform some actions only in 'pre-link' and 'post-build' times. i have a *.bat file that i want it to run before the compilation starts..... any1 knows how can i do it? thanks in advanced Yaron Ask not what the application can do for you, ask what you can do for your application

      P Offline
      P Offline
      Pavel Klocek
      wrote on last edited by
      #2

      In VC6 you open Project Settings dialog and go to the Pre-link Tab. Pavel Sonork 100.15206

      Y 1 Reply Last reply
      0
      • P Pavel Klocek

        In VC6 you open Project Settings dialog and go to the Pre-link Tab. Pavel Sonork 100.15206

        Y Offline
        Y Offline
        Yaron Nir
        wrote on last edited by
        #3

        Hi , thanks for your reply. pre-line is not pre-comile, i need to call the *.bat before any sort of compilation starts..... can u still help me? Yaron Ask not what the application can do for you, ask what you can do for your application

        P 1 Reply Last reply
        0
        • Y Yaron Nir

          Hi , thanks for your reply. pre-line is not pre-comile, i need to call the *.bat before any sort of compilation starts..... can u still help me? Yaron Ask not what the application can do for you, ask what you can do for your application

          P Offline
          P Offline
          Pavel Klocek
          wrote on last edited by
          #4

          Yaron Nir wrote: pre-line is not pre-comile, i need to call the *.bat before any sort of compilation starts..... Sorry :-O If your bat file has an input file which changes, you can use a custom build rule. Otherwise I'm sorry. Pavel Sonork 100.15206

          1 Reply Last reply
          0
          • Y Yaron Nir

            Hello, I know in the project settings of VC++ you can perform some actions only in 'pre-link' and 'post-build' times. i have a *.bat file that i want it to run before the compilation starts..... any1 knows how can i do it? thanks in advanced Yaron Ask not what the application can do for you, ask what you can do for your application

            H Offline
            H Offline
            Hans Ruck
            wrote on last edited by
            #5

            You can export the makefile and launch the batch file from there. Then you might add the nmake call among the tools in order to do it quickly. Or you can write an addin to handle this job easily :rolleyes: rechi

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups